<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: 3rd_party/cal_dex.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_60cbcd1789421e8319a061e4f0b77f7e.html">3rd_party</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">cal_dex.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="cal__dex_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structex__regs.html">ex_regs</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:acc0f78bdc8572f17f1a1eedc0f4fb6f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#acc0f78bdc8572f17f1a1eedc0f4fb6f3">CAL_DEX_VERSION</a>&#160;&#160;&#160;&quot;0.1&quot;</td></tr>
<tr class="separator:acc0f78bdc8572f17f1a1eedc0f4fb6f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae93d6b359abf6e2fd18bba79257ba8e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#ae93d6b359abf6e2fd18bba79257ba8e2">CAL_DEX_DUMP_FORMAT</a>&#160;&#160;&#160;&quot;0.1&quot;</td></tr>
<tr class="separator:ae93d6b359abf6e2fd18bba79257ba8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7577d49f3bfffb1cf048eef843177784"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a7577d49f3bfffb1cf048eef843177784">L</a>(<a class="el" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a>)&#160;&#160;&#160;(((unsigned int)(<a class="el" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a>)) &amp; 0xFFFF)</td></tr>
<tr class="separator:a7577d49f3bfffb1cf048eef843177784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace605bda5adf4d197d62796c54bef1b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#ace605bda5adf4d197d62796c54bef1b0">USE_ETS_PRINTF</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ace605bda5adf4d197d62796c54bef1b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a189cc9d30a050d345a214a64a3077e1c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a189cc9d30a050d345a214a64a3077e1c">c_puts</a>(a)&#160;&#160;&#160;<a class="el" href="cal__dex_8c.html#a930bc9f35121018da9e27272aab1f255">cal_tprintf</a>(a)</td></tr>
<tr class="separator:a189cc9d30a050d345a214a64a3077e1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a930bc9f35121018da9e27272aab1f255"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a930bc9f35121018da9e27272aab1f255">cal_tprintf</a>&#160;&#160;&#160;<a class="el" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a></td></tr>
<tr class="separator:a930bc9f35121018da9e27272aab1f255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf0952059602752258dccaa015d7b54a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#aaf0952059602752258dccaa015d7b54a">NUM</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:aaf0952059602752258dccaa015d7b54a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a35c6b20120a115839944c07cf7089ee1"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a35c6b20120a115839944c07cf7089ee1">__real__xtos_set_exception_handler</a> (int exno, void(*exhandler)())</td></tr>
<tr class="separator:a35c6b20120a115839944c07cf7089ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e6d28af54455355a04c34d287d5ef2f"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a8e6d28af54455355a04c34d287d5ef2f">system_get_sdk_version</a> ()</td></tr>
<tr class="separator:a8e6d28af54455355a04c34d287d5ef2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa92f95616461785d7b1a7d7591ccaa1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#aaa92f95616461785d7b1a7d7591ccaa1">cal_dex_handler</a> (int exccause, <a class="el" href="structex__regs.html">ex_regs</a> regs)</td></tr>
<tr class="separator:aaa92f95616461785d7b1a7d7591ccaa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13b7de6e7c126209e587ac1cd5ccb4fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a13b7de6e7c126209e587ac1cd5ccb4fc">ets_uart_printf</a> (char *fmt,...)</td></tr>
<tr class="separator:a13b7de6e7c126209e587ac1cd5ccb4fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e59349b0d7b06518b2257c04bbfc1e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a62e59349b0d7b06518b2257c04bbfc1e">cal_dex_dump_hex</a> (int *p, int cnt)</td></tr>
<tr class="separator:a62e59349b0d7b06518b2257c04bbfc1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51bf09cac6f861c3a27c59190c3c6cc5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a51bf09cac6f861c3a27c59190c3c6cc5">stackok</a> (int *sp)</td></tr>
<tr class="separator:a51bf09cac6f861c3a27c59190c3c6cc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e0d5f7ed6c4b3cca2869392a41627e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a0e0d5f7ed6c4b3cca2869392a41627e8">cal_dex_dump_stack</a> (int *sp)</td></tr>
<tr class="separator:a0e0d5f7ed6c4b3cca2869392a41627e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac71f7a3cad2b1fea5cf85a828e29e644"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#ac71f7a3cad2b1fea5cf85a828e29e644">get_excvaddr</a> ()</td></tr>
<tr class="separator:ac71f7a3cad2b1fea5cf85a828e29e644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf957f6fef532e6ea549b42081a2592a"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#acf957f6fef532e6ea549b42081a2592a">get_depc</a> ()</td></tr>
<tr class="separator:acf957f6fef532e6ea549b42081a2592a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02ae9a70fb903af445b161a5f475ae21"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a02ae9a70fb903af445b161a5f475ae21">cal_dex_dump</a> (int *sp)</td></tr>
<tr class="separator:a02ae9a70fb903af445b161a5f475ae21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26d67b0638e4ea778c53b436403194dd"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a26d67b0638e4ea778c53b436403194dd">__wrap__xtos_set_exception_handler</a> (int exno, void(*exhandler)())</td></tr>
<tr class="separator:a26d67b0638e4ea778c53b436403194dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ac66534749fb69896f1a473745b07aff8"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#ac66534749fb69896f1a473745b07aff8">_text_start</a></td></tr>
<tr class="separator:ac66534749fb69896f1a473745b07aff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0ad9d4bf681198482b41f2cc86f0f8b"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#af0ad9d4bf681198482b41f2cc86f0f8b">_text_end</a></td></tr>
<tr class="separator:af0ad9d4bf681198482b41f2cc86f0f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b0d08ce55c1dd45663ece989b591af3"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a9b0d08ce55c1dd45663ece989b591af3">_rodata_start</a></td></tr>
<tr class="separator:a9b0d08ce55c1dd45663ece989b591af3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9088afdf082e7273471de67d7a306299"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a9088afdf082e7273471de67d7a306299">_rodata_end</a></td></tr>
<tr class="separator:a9088afdf082e7273471de67d7a306299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52ac470a9c391e36c01d0f292c65cf19"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a52ac470a9c391e36c01d0f292c65cf19">_data_start</a></td></tr>
<tr class="separator:a52ac470a9c391e36c01d0f292c65cf19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a631d10379fb6298dec3a091dff85fbfe"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a631d10379fb6298dec3a091dff85fbfe">_data_end</a></td></tr>
<tr class="separator:a631d10379fb6298dec3a091dff85fbfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8dbbb399a1fef76400b4f00478e0988"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#ab8dbbb399a1fef76400b4f00478e0988">_bss_start</a></td></tr>
<tr class="separator:ab8dbbb399a1fef76400b4f00478e0988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa26ff984a04eba58325fdd495b7acd8"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#aaa26ff984a04eba58325fdd495b7acd8">_bss_end</a></td></tr>
<tr class="separator:aaa26ff984a04eba58325fdd495b7acd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5196a11f05e9c409acfce39d5a598d48"><td class="memItemLeft" align="right" valign="top">static void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cal__dex_8c.html#a5196a11f05e9c409acfce39d5a598d48">orighandler</a> )(int code)</td></tr>
<tr class="separator:a5196a11f05e9c409acfce39d5a598d48"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a189cc9d30a050d345a214a64a3077e1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define c_puts</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="cal__dex_8c.html#a930bc9f35121018da9e27272aab1f255">cal_tprintf</a>(a)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00060">60</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00359">__wrap__xtos_set_exception_handler()</a>, <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>, <a class="el" href="cal__dex_8c_source.html#l00126">cal_dex_dump_hex()</a>, and <a class="el" href="cal__dex_8c_source.html#l00162">cal_dex_dump_stack()</a>.</p>

</div>
</div>
<a class="anchor" id="ae93d6b359abf6e2fd18bba79257ba8e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAL_DEX_DUMP_FORMAT&#160;&#160;&#160;&quot;0.1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00008">8</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>.</p>

</div>
</div>
<a class="anchor" id="acc0f78bdc8572f17f1a1eedc0f4fb6f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAL_DEX_VERSION&#160;&#160;&#160;&quot;0.1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>cal_dex 0.1</p>
<p>Debug exception support. (20150421, cal) </p>

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00007">7</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>.</p>

</div>
</div>
<a class="anchor" id="a930bc9f35121018da9e27272aab1f255"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define cal_tprintf&#160;&#160;&#160;<a class="el" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00063">63</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>, and <a class="el" href="cal__dex_8c_source.html#l00162">cal_dex_dump_stack()</a>.</p>

</div>
</div>
<a class="anchor" id="a7577d49f3bfffb1cf048eef843177784"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><a class="el" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a></td><td>)</td>
          <td>&#160;&#160;&#160;(((unsigned int)(<a class="el" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a>)) &amp; 0xFFFF)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00054">54</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>, <a class="el" href="time_8c_source.html#l00882">clock_set()</a>, <a class="el" href="timer_8c_source.html#l00276">clock_task()</a>, <a class="el" href="time_8c_source.html#l01038">find_dst()</a>, <a class="el" href="time_8c_source.html#l00822">gettimeofday()</a>, <a class="el" href="hal_8c_source.html#l00052">gpio_pin_sfr_mode()</a>, <a class="el" href="time_8c_source.html#l01178">initialize_clock()</a>, <a class="el" href="time_8c_source.html#l00499">localtime_r()</a>, <a class="el" href="posix_8c_source.html#l00617">lseek()</a>, <a class="el" href="cordic2c_8c_source.html#l00317">main()</a>, <a class="el" href="timetests_8c_source.html#l00052">myrand()</a>, <a class="el" href="time_8c_source.html#l00654">normalize()</a>, <a class="el" href="posix_8c_source.html#l00666">rewind()</a>, <a class="el" href="time_8c_source.html#l01113">set_dst()</a>, <a class="el" href="time_8c_source.html#l00919">setdate_r()</a>, <a class="el" href="time_8c_source.html#l00861">settimeofday()</a>, <a class="el" href="user__main_8c_source.html#l00971">setup()</a>, <a class="el" href="timer_8c_source.html#l00135">subtract_timespec()</a>, <a class="el" href="user__main_8c_source.html#l00783">test_types()</a>, and <a class="el" href="time_8c_source.html#l00552">tm2epoch()</a>.</p>

</div>
</div>
<a class="anchor" id="aaf0952059602752258dccaa015d7b54a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NUM&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00122">122</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00126">cal_dex_dump_hex()</a>.</p>

</div>
</div>
<a class="anchor" id="ace605bda5adf4d197d62796c54bef1b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USE_ETS_PRINTF&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00057">57</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a35c6b20120a115839944c07cf7089ee1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* __real__xtos_set_exception_handler </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>exno</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)()&#160;</td>
          <td class="paramname"><em>exhandler</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00359">__wrap__xtos_set_exception_handler()</a>.</p>

</div>
</div>
<a class="anchor" id="a26d67b0638e4ea778c53b436403194dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* __wrap__xtos_set_exception_handler </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>exno</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)()&#160;</td>
          <td class="paramname"><em>exhandler</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This intercepts calls to _xtos_set_exception_handler which is reached via symbol __real__xtos_set_exception_handler.</p>
<p>Calls to exception handler are intercepted by cal_dex_handler before delegating to original handler. </p>

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00359">359</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

</div>
</div>
<a class="anchor" id="a02ae9a70fb903af445b161a5f475ae21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cal_dex_dump </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>sp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00217">217</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00329">cal_dex_handler()</a>.</p>

</div>
</div>
<a class="anchor" id="a62e59349b0d7b06518b2257c04bbfc1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cal_dex_dump_hex </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cnt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00126">126</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00162">cal_dex_dump_stack()</a>.</p>

</div>
</div>
<a class="anchor" id="a0e0d5f7ed6c4b3cca2869392a41627e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cal_dex_dump_stack </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>sp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00162">162</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>.</p>

</div>
</div>
<a class="anchor" id="aaa92f95616461785d7b1a7d7591ccaa1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cal_dex_handler </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>exccause</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structex__regs.html">ex_regs</a>&#160;</td>
          <td class="paramname"><em>regs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00329">329</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00359">__wrap__xtos_set_exception_handler()</a>, and <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>.</p>

</div>
</div>
<a class="anchor" id="a13b7de6e7c126209e587ac1cd5ccb4fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ets_uart_printf </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="ili9341_8c_source.html#l00166">tft_readRegister()</a>.</p>

</div>
</div>
<a class="anchor" id="acf957f6fef532e6ea549b42081a2592a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int get_depc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00205">205</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>.</p>

</div>
</div>
<a class="anchor" id="ac71f7a3cad2b1fea5cf85a828e29e644"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int get_excvaddr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00194">194</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>.</p>

</div>
</div>
<a class="anchor" id="a51bf09cac6f861c3a27c59190c3c6cc5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int stackok </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>sp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00154">154</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>, and <a class="el" href="cal__dex_8c_source.html#l00162">cal_dex_dump_stack()</a>.</p>

</div>
</div>
<a class="anchor" id="a8e6d28af54455355a04c34d287d5ef2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* system_get_sdk_version </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00217">cal_dex_dump()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="aaa26ff984a04eba58325fdd495b7acd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _bss_end</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab8dbbb399a1fef76400b4f00478e0988"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _bss_start</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a631d10379fb6298dec3a091dff85fbfe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _data_end</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a52ac470a9c391e36c01d0f292c65cf19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _data_start</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9088afdf082e7273471de67d7a306299"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _rodata_end</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9b0d08ce55c1dd45663ece989b591af3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _rodata_start</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af0ad9d4bf681198482b41f2cc86f0f8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _text_end</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac66534749fb69896f1a473745b07aff8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char _text_start</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5196a11f05e9c409acfce39d5a598d48"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void(* orighandler) (int code)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="cal__dex_8c_source.html#l00051">51</a> of file <a class="el" href="cal__dex_8c_source.html">cal_dex.c</a>.</p>

<p>Referenced by <a class="el" href="cal__dex_8c_source.html#l00359">__wrap__xtos_set_exception_handler()</a>, and <a class="el" href="cal__dex_8c_source.html#l00329">cal_dex_handler()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
